<?php
include dirname(__FILE__) . '/../boot.php';
header("content-type:text/html; charset=utf-8");
//header("Cache-Control: no-cache");

tos_debug_mode(true);
//tos_set_config('theme', 'tos');
m('app')->run();
$method = tos_http_get('method');
if ($method == 'ajax') {
    
} else {
    $out = out();
    $out->add_block(new View('debug'), 'debug');
    $out->display('html');
}
//print_r(Db_mysqli::$query_stack);
?>